'use strict';
<%_ if (buildTool === undefined) { _%>
const packageJson = require('./../package.json');
<%_ } _%>

module.exports = {
  NODE_ENV: '"production"',
  SERVER_API_URL: '""',
  BUILD_TIMESTAMP: `'${new Date().getTime()}'`,
<%_ if (buildTool === undefined) { _%>
  VERSION: `'${packageJson.version}'`,
<%_ } else { _%>
  // APP_VERSION is passed as an environment variable from the Gradle / Maven build tasks.
  VERSION: `'${process.env.hasOwnProperty('APP_VERSION') ? process.env.APP_VERSION : 'UNKNOWN'}'`,
<%_ } _%>
};
